package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.StrategyCatalog;
import cn.wolfcode.trip.base.query.StratetyCatalogQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyCatalogService {


    void save(StrategyCatalog strategyCatalog);



    /**
     * 高级查询
     * @param qo
     * @return
     */
    PageInfo query(StratetyCatalogQueryObject qo);

    void update(StrategyCatalog strategyCatalog);

    List<StrategyCatalog> selectAll();

    StrategyCatalog get(Long id);

    void delete(Long id);

    void saveOrUpdate(StrategyCatalog strategyCatalog);

    List<StrategyCatalog> getCatalogByStrategyId(Long strategyId);
}
